// Customer客户组件内部工具
import { find } from 'lodash';
import { CUSTOMER_STATUS_MAP } from '../constants';

// 获取客户关注状态描述
export function getStatusDesc(status) {
  const item = find(CUSTOMER_STATUS_MAP, ['status', status]);
  return item ? item.desc : '状态未定义';
}
